package com.bida.mapper;

import com.bida.domain.po.Orders;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bida.domain.vo.OrderOverViewVO;

import java.time.LocalDateTime;

/**
 * <p>
 * 订单表 Mapper 接口
 * </p>
 *
 * @author ly
 * @since 2024-09-08
 */
public interface OrdersMapper extends BaseMapper<Orders> {


    Double getTurnoverStatisticsInfo(LocalDateTime beginTime, LocalDateTime endTime, Integer status);

    /**
     * 控制台订单管理数据
     * @return
     */
    OrderOverViewVO getOrderOverView(LocalDateTime localDateTime);
}
